Enable creation of initial empty commit for new projects Add new option '--empty-commit' for the 'create-project' SSH command that creates an initial empty commit for the newly created project. The idea of introducing this option was discussed on the mailing list: http://groups.google.com/group/repo-discuss/browse_thread/thread/945f313be4f26167?pli=1 Signed-off-by: Edwin Kempin <edwin.kempin@gmail.com> Change-Id: I54cee094a4d465cd05cbc13ffcf90666b205ba72
diff --git a/Documentation/cmd-create-project.txt b/Documentation/cmd-create-project.txt index 72d7916..f698d5c 100644 --- a/Documentation/cmd-create-project.txt +++ b/Documentation/cmd-create-project.txt
@@ -19,6 +19,7 @@ [\--use-content-merge] \ [\--use-contributor-agreements] \ [\--use-signed-off-by] +[\--empty-commit] DESCRIPTION ----------- @@ -113,6 +114,10 @@ from either the author or the uploader in the commit message. Disabled by default. +\--empty-commit: + Creates an initial empty commit for the Git repository of the + project that is newly created. + EXAMPLES --------